package org.xqyy.eval.model;

import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import javax.persistence.*;

@Table(name = "t_eval_detail")
public class TEvalDetail {
    @Id
    @KeySql(sql = "select uuid()", order = ORDER.BEFORE)
    private String id;

    private String masterid;

    private Integer questionid;

    private Float answer;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return masterid
     */
    public String getMasterid() {
        return masterid;
    }

    /**
     * @param masterid
     */
    public void setMasterid(String masterid) {
        this.masterid = masterid;
    }

    /**
     * @return questionid
     */
    public Integer getQuestionid() {
        return questionid;
    }

    /**
     * @param questionid
     */
    public void setQuestionid(Integer questionid) {
        this.questionid = questionid;
    }

    /**
     * @return answer
     */
    public Float getAnswer() {
        return answer;
    }

    /**
     * @param answer
     */
    public void setAnswer(Float answer) {
        this.answer = answer;
    }
}